Add description front matter to Timeline, Audits, and Publications pages - #173
Open
tannaya7 wants to merge 3 commits into
Open
Conversation
Fixes garbled og:description previews caused by Hugo auto-summarizing these list-based pages, same root cause as theupdateframework#168.
The link-check CI step requires .lycheecache to cover every URL checked in the build. These two ENISA URLs (added to news.md by a prior commit) were never added to the cache, which was failing this PR's link-check job unrelated to its actual change. Values copied from the CI run's own lychee output (both HTTP 200). Signed-off-by: tannaya7 <tannayasupriya157@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #171.
Same root cause as #168 / #170: Hugo falls back to auto-summarizing the page body for
og:descriptionwhen no explicitdescriptionfront matter field is set. That auto-summary is garbled on pages whose body is a list of short, disconnected fragments rather than prose:content/en/docs/project/timeline.md— a list of**YEAR**: fragmententriescontent/en/docs/security/audits.md— a bare list of dated audit report linkscontent/en/resources/publications.md— a bare list of paper title linksThis adds an explicit
description:field to each, same pattern already used ondocs/overview.md,docs/faq.md,news.md, andadoptions/index.md(#170).